package com.zkyc.framework.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author bing.bai
 * @create 2022/6/1
 */
@TableName("system_timing")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SystemTiming {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer costTime;

    private String methodName;

    private String websiteId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date requestDate;
}
